home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Python 1.3.3 / Python 133 SRC / Python / getcompiler.c < prev    next >
Text File  |  1995-12-21  |  214b  |  18 lines

  1. #ifdef __GNUC__
  2. #define COMPILER " [GCC " __VERSION__ "]"
  3. #endif
  4.  
  5. #ifndef COMPILER
  6. #ifdef __cplusplus
  7. #define COMPILER "[C++]"
  8. #else
  9. #define COMPILER "[C]"
  10. #endif
  11. #endif
  12.  
  13. char *
  14. getcompiler()
  15. {
  16.     return COMPILER;
  17. }
  18.